package com.xxx.kjds.service;


import com.xxx.kjds.entity.Goods;
import com.xxx.kjds.entity.GoodsExample;

import java.util.List;

public interface GoodsService {

    public long countByExample(GoodsExample example);

    public int deleteByExample(GoodsExample example);

    public int deleteByPrimaryKey(Integer id);

    public int insert(Goods record);

    public int insertSelective(Goods record);

    public List<Goods> selectByExample(GoodsExample example);

    public Goods selectByPrimaryKey(Integer id);

    public int updateByExampleSelective(Goods record, GoodsExample example);

    public int updateByExample(Goods record, GoodsExample example);

    public int updateByPrimaryKeySelective(Goods record);

    public int updateByPrimaryKey(Goods record);

    public List<Goods> selectByState(String state);

    public Goods selectByTitle(String title);

    public List<Goods> selectAllByBrandId(Integer brandId);

    public int uploadToStorehouse(Integer id);

    public int uploadToStore(Integer id);

    public int goOffFromStore(Integer id);

    public int offStorehouse(Integer id);

    public List<Goods> selectGoodsByCompanyID(Integer mvo_id);
}
